﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户管理</title>
<!-- 整体样式 -->
<link href="../jquery-easyui-1.5.2/themes/default/easyui.css"
	rel="stylesheet" />
<!-- 图标格式 -->
<link href="../jquery-easyui-1.5.2/themes/icon.css" rel="stylesheet" />
<!-- 颜色样式 -->
<link href="../jquery-easyui-1.5.2/themes/color.css" rel="stylesheet" />
<script src="../jquery-easyui-1.5.2/jquery.min.js"></script>
<script src="../jquery-easyui-1.5.2/jquery.easyui.min.js"></script>
<script src="../jquery-easyui-1.5.2/locale/easyui-lang-zh_CN.js"></script>

<script type="text/javascript" src="js/powerroom.js"></script>
<style type="text/css">

.datagrid-row-selected {
	background: #55EEee;
	color: #fff;
}
#userform {
	position: relative;
}

#change {
	position: absolute;
	bottom: 50px;
	right: 110px;
}

#cancel {
	position: absolute;
	bottom: 50px;
	right: 20px;
}

.th1 {
	color: #7794B2;
	height: 25px;
	text-align: right;
}

.th2 {
	color: #508B37;
}
</style>
</head>
<body>
<div id="tb">
						<input class="easyui-datebox"
							data-options="prompt:'选择起始日期',buttons:buttons"
							style="width:14%; height: 25px;" id="startDate" /> <input
							class="easyui-datebox"
							data-options="prompt:'选择截止日期',buttons:buttons"
							style="width:14%; height: 25px;" id="endDate" /><a id="add"
							href="#" class="easyui-linkbutton" iconCls="icon-search"
							plain="true" onclick="doSearch()">查询</a><a id="add" href="#"
							class="easyui-linkbutton" iconCls="icon-add" plain="true"
							onclick="add()">新增</a>
					</div>

	<div id="fw">
		<div id="w1" class="easyui-window" title="添加物业费销售单"
			data-options="cls:'c1',collapsible:false,minimizable:false,maximizable:false,modal:true,closed:true,resizable:false"
			style="width:380px;height:405px;padding:5px;">
			
			<div class="easyui-layout" data-options="fit:true">
				<div data-options="region:'center'" style="padding:10px;">
					<form id="addform">
						<input type="hidden" id="mid" id="mid" />
						<table cellpadding="5">
							<!--<tr>
								<td class="td1">房号:</td>
								<td><input class="easyui-textbox"
									style="width: 220px;height: 28px;"
									data-options="editable:false" id="hname" /></td>
							</tr>  -->
							<tr>
								<td class="td1">上期截止日:</td>
								<td><input name="shangdate" class="easyui-datebox"
									style="width: 220px;height: 28px;"
									data-options="editable:false" id="shangdate"
									readonly="readonly" /></td>
							</tr>
							<!--	<tr>
								<td class="td1">本期截止日:</td>
								<td><input name="creationtime" class="easyui-datebox"
									style="width: 220px;height: 28px;"
									data-options="prompt:'选择本期物业费截止日'" id="creationtime" /></td>
							</tr>-->
							<tr>
								<td class="td1">上期底数:</td>
								<td><input name="pripernum" class="easyui-numberbox"
									style="width: 220px;height: 28px;"
									data-options="prompt:'请输入本期期数(年-月-代号)2018-1-00'" id="pripernum"
									readonly="readonly" /></td>
							</tr>
							<tr>
								<td class="td1">本期底数:</td>
								<td><input name="curpernum" class="easyui-numberbox"
									style="width: 220px;height: 28px;"
									data-options="prompt:'请输入本期期数(年-月-代号)2018-1-00'" id="curpernum" /></td>
								<!--events:{blur:judge},required:false,validType:'curpernum',-->
							</tr>
							<tr>
								<td class="td1">本期结算数:</td>
								<td><input name="cloaccount" class="easyui-textbox"
									style="width: 220px;height: 28px;"
									data-options="editable:false" id="cloaccount" /></td>
							</tr>
							<tr>
								<td class="td1">本期期数:</td>
								<td><input name="qishu" class="easyui-textbox"
									style="width: 220px;height: 28px;" id="qishu" /></td>
							</tr>
							<tr>
								<td class="td1">备注信息:</td>
								<td><input name="name" class="easyui-textbox"
									style="width: 220px;height: 60px;"
									data-options="multiline:true,prompt:'请输入备注信息....'" /></td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td id="addMag" style="font-size: 12px; color: red;"></td>
							</tr>

						</table>
					</form>
				</div>
				<div data-options="region:'south',border:false"
					style="text-align:right;padding:5px 0 0;">
					<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
						href="javascript:void(0)" onclick="submitAdd()" style="width:80px">添加</a>
					
				</div>
			</div>
		</div>
	</div>
	
	<div id="w4" class="easyui-window" title="查看详情"
		data-options="cls:'c1',minimizable:false,maximizable:false,maximizable:false,collapsible:false,modal:true"
		style="width:350px;height:400px;padding:5px;overflow: hidden;">


		<div class="easyui-layout" data-options="fit:true">

			<div data-options="region:'center'" style="padding:10px; ">
				<form id="myform">
					<input type="hidden" name="id" id="s_id" />

					<table cellpadding="5">


						<tr>
							<td class="th1">上期时间:</td>
							<td class="th2" id="shangdate1"></td>

						</tr>
						<tr>
							<td class="th1">上期底数:</td>
							<td class="th2" id="pripernum1"></td>
						</tr>

						<tr>
							<td class="th1">本期底数:</td>
							<td class="th2" id="curpernum1"></td>
							<td class="th2" id="pripernum1"></td>
						</tr>

						<tr>
							<td class="th1">本期电量:</td>
							<td class="th2" id="cloaccount1"></td>
						</tr>

						<tr>
							<td class="th1">抄表时间:</td>
							<td class="th2" id="creationtime1"></td>
						</tr>
						
						<tr>
							<td class="th1">本期期数:</td>
							<td class="th2" id="qishu1"></td>
						</tr>
					
						<tr>
							<td class="th1" valign="top">备注信息:</td>
							<td class="th2"><input class="easyui-textbox" id="remarks1"
								data-options="multiline:true,editable:false"
								style="width:200px;height:60px"></td>

						</tr>



						<tr>
							<td></td>

							<td style="color: red;" colspan="2"><span id="mge"></span></td>
						</tr>
					</table>
				</form>
			</div>

			<div data-options="region:'south',border:false"
				style="text-align:right;padding:5px 0 0;"></div>
		</div>
	</div>
	<table id="datatable">
	</table>
</body>
</html>
